<?php
namespace App\Controller;
use Think\Controller;
class   ActivityController extends Controller {
    public function index(){

    }
    public function activityjson(){
    	//张强做的获取活动详细信息
        $activity=M('activity');
        //var_dump($class);
        $allactivity = $activity->select();
        echo json_encode($allactivity);
    
    }
}